<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
  <style></style>
</head>
<body>
<div id="app">app loading</div>
<script>
  const electron = require('electron');
  window.electron = electron;
  window.zzeng = {};

  ;(function () {
    const shell = require('electron').shell;
    document.body.addEventListener('click', (event) => {
      const { nodeName, href } = event.target;
      if (nodeName.toLowerCase() === 'a' && href && href.search(/^[https:\/\/|http:\/\/|\/\/]/) === 0) {
        shell.openExternal(event.target.href);
        event.preventDefault();
      }
    });
  })();
</script>
</body>
</html>